package com.only4play.pcc.service;

import com.only4play.pcc.domain.User;

import java.util.List;

/**
 * @author liyuncong
 * @version 1.0
 * @file FeedService
 * @brief FeedService
 * @details FeedService
 * @date 2024-06-24
 *
 * Edit History
 * ----------------------------------------------------------------------------
 * DATE                     NAME               DESCRIPTION
 * 2024-06-24               liyuncong          Created
 */
public interface LikeService {

    Long islike(Long oid, Long uid);

    Long like(Long oid, Long uid);

    Long unlike(Long oid, Long uid);

    Long count(Long oid);

    List<User> queryLatestLikeUsers(Long oid, int defaultLimit);

    List<User> list(Long oid, Long uid, Long cursor, Integer limit, Integer isFriend);
}
